Skip to content

Conversation

ChrisRackauckas
Copy link
Member

Fixes #635

f(u, p) = [u[1]^2 - 2u[1] + 1, sum(u)]
prob = NonlinearProblem(f, [1.0, 1.0])
sol = solve(prob)
@test SciMLBase.successful_retcode(sol)
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
end
end

@ChrisRackauckas ChrisRackauckas merged commit 43227e5 into master Jul 15, 2025
20 of 38 checks passed
@ChrisRackauckas ChrisRackauckas deleted the singular branch July 15, 2025 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NonlinearSolve stalls when jacobian is singular
2 participants